//
//  TableViewDelegate.h
//  JFTQRLOGIN
//
//  Created by mac on 2017/12/4.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef void (^returnBlock)(NSIndexPath *path,UITableViewCell * cell);
typedef void (^selectedIndexBlock)(NSIndexPath *indexPath);
@interface TableViewDelegate : NSObject <UITableViewDelegate,UITableViewDataSource>
@property (nonatomic,strong)NSMutableArray *itemArrayItems;
@property (nonatomic,strong)NSString *className;
@property (nonatomic,copy)returnBlock block;
@property (nonatomic,copy)selectedIndexBlock selectBlock;
@property (nonatomic,copy)void (^scrollviewBlock)(CGFloat height);
- (instancetype)initWithTableView:(UITableView*)tableView listCell:(NSString*)cellIdentifier itemCount:(NSInteger)itCount;
- (void)reloadMyData;
@end
